package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

public interface IUserdao {
    //查询所有用户
     User findByCondition(User user) throws Exception;

    //根据条件进行用户的查询
     List<User> findAll() throws Exception;

     //根据id属性删除
    int deleteById(User user)throws Exception;

    //根据id属性进行更新
    int updateById(User user)throws Exception;

    //添加用户操作
    int addUser(User user)throws Exception;

 }
